package com.kx.center.entity;

import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.kx.center.common.JsonDateSerializer;

/**
 * @description 错误日志
 * @version 1.0
 * @author Scott 
 * @date 2016年1月5日 下午2:46:49
 */
public class ErrorLog {

	private int id;
	private String errorType;
	private String errorInfo;
	private Date ctime ;
	private int errorLevel;
	private String requestUri;
	private String requestIP;
	public int getId() {
		return id;
	}
	public String getRequestUri() {
		return requestUri;
	}
	public void setRequestUri(String requestUri) {
		this.requestUri = requestUri;
	}
	public String getRequestIP() {
		return requestIP;
	}
	public void setRequestIP(String requestIP) {
		this.requestIP = requestIP;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getErrorType() {
		return errorType;
	}
	public void setErrorType(String errorType) {
		this.errorType = errorType;
	}
	public String getErrorInfo() {
		return errorInfo;
	}
	public void setErrorInfo(String errorInfo) {
		this.errorInfo = errorInfo;
	}
	@JsonSerialize(using = JsonDateSerializer.class)
	public Date getCtime() {
		return ctime;
	}
	public void setCtime(Date ctime) {
		this.ctime = ctime;
	}
	public int getErrorLevel() {
		return errorLevel;
	}
	public void setErrorLevel(int errorLevel) {
		this.errorLevel = errorLevel;
	}
	
}
